{% extends "base.html" %}
{% block sideBarContent %}
{%if key %}
  <H2>Team bearbeiten</H2>
{%else%}
  <H2>Neues Team</H2>
{%endif%}

<form action="{{ action }}" method="post">

<table class="t_main t_new">
 {{ form }}
  <tr><th colspan="2"><input type="submit" value="ok"></th></tr>
</table>

<input type="hidden" name="key" value="{{ key }}">

</form>

{%if key %}
  <div class='d_right' ><a href="team_del?del=1&key={{key}}">Team l&ouml;schen</a></div>
{%endif%}


{% endblock %}
